<%--
  Created by IntelliJ IDEA.
  User: 60567
  Date: 2019/3/7
  Time: 19:27
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>回复帖子</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        .header{
            height: 10%;
            background-color: black;
        }
        .header-button{
            width: 40%;
            height: 50px;
            margin: 0 auto;
            float: right;
        }
        .button-style{
            display: inline-block;
            border-radius: 4px;
            background-color: darkgrey;
            border: none;
            color: #FFFFFF;
            text-align: center;
            font-size: 16px;
            padding: 15px;
            width: 10%;
            transition: all 0.5s;
            cursor: pointer;
            margin: 3%;
        }
    </style>
</head>

<%
    String loginUserName;
    loginUserName = request.getParameter("loginUserName");
    if(loginUserName==null){
        loginUserName = "登陆";
    }
%>

<body>
<div class="header">
    <font size="22" color="white">回复帖子</font>
    <header class="header-button">
        <a href="login.jsp"><button class="button-style"><span><%= loginUserName%></span></button></a>
        <a href="RegisterPage.jsp"><button class="button-style"><span>注册</span></button></a>
    </header>
</div>
    <form action="replydeal" method="post" accept-charset="UTF-8">
        <input type="hidden" name="size" value="<%= request.getParameter("size")%>">
        <input type="hidden" name="pid" value="<%= request.getParameter("pid")%>">
        <input type="hidden" name="loginUserName" value="<%= loginUserName%>">
        标题:<input type="text" name="title"><br><br>
        内容:<br><textarea name="content" cols="100" rows="12"></textarea>
        <br>
        <input type="submit">
    </form>
</body>
</html>
